﻿<UserControl
    x:Class="Spritehand.PhysicsHelper.Demos.UWP.ucBlock"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Spritehand.PhysicsHelper.Demos.UWP"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:ph="using:Spritehand.FarseerHelper"  
    mc:Ignorable="d"
    d:DesignHeight="30"
    d:DesignWidth="30">

    <Canvas x:Name="LayoutRoot" Width="60" Height="60">
        <ph:PhysicsSprite x:Name="cnvBlock" Height="60" Width="60">
            <Rectangle Height="60" Stroke="Black" Width="60">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="LightBlue" Offset="0.004"/>
                        <GradientStop Color="White" Offset="1"/>
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>

        </ph:PhysicsSprite>

    </Canvas>
</UserControl>
